
import formCreateMobile from "@form-create/vant";
import install from "@form-create/vant/auto-import";

export function useFormCreate(app) {
    const components = {
        // AreaSelect,
        // BwUpload,
        // TipTextarea,
        // TipCurrency,
        // BwSingleUpload,
        // CurrencyInput,
    };
    formCreateMobile.use(install);
    app.use(formCreateMobile);
    Object.entries(components).forEach(([name, component]) => {
        formCreateMobile.component(name, component);
    });
}
